﻿using System;
using YEA.Infrastructure.Gateway;
using YEA.Utilities.Notifications;
using YEA.Utilities.Notifications.Converter;

namespace YEA.Monitor.NotificationManager.Converter
{
    public static class MessageConverter
    {
        public static Notification Convert(Message message)
        {
            var converter = new NotificationConverter();
            return converter.ConvertMessageToObject(message);
        }

    }
}
